package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import static org.jsola.hr.example.EmpChangesExample.*;
import static org.jsola.hr.example.EmpInfoExample.E_LEAVE_DATE;
import static org.jsola.hr.example.EmpInfoExample.N_LEAVE_DATE;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【员工人事变动记录相关】展示对象")
@Data
public class EmpChangesRelationVO extends EmpChangesVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_EMP_NAME, example = E_EMP_NAME)
    private String empName;

    @ApiModelProperty(notes = N_PHONE, example = E_PHONE)
    private String phone;

    @ApiModelProperty(notes = N_STATUS, example = E_STATUS)
    private Integer status;

    @ApiModelProperty(notes = N_DEP_NAME, example = E_DEP_NAME)
    private String depName;

    @ApiModelProperty(notes = N_POSITION_NAME, example = E_POSITION_NAME)
    private String positionName;

    @ApiModelProperty(notes = N_LEAVE_DATE, example = E_LEAVE_DATE)
    private Date leaveDate;

    @ApiModelProperty(notes = "身份证号")
    private String idCard;

}

